<?php

include(dirname(__FILE__).'/../../bootstrap/functional.php');

$browser = new CarteTestFunctional(new sfBrowser());
$browser->loadData();

$browser->info('1 - The homepage')
	->get('carte/index')
	->with('request')
	->begin()
		->isParameter('module', 'carte')
		->isParameter('action', 'index')
	->end()
	->with('response')
	->begin()
	->info('1.1 - Cartile care nu sunt in stoc nu sunt listate')
	->checkElement('.carti td.position::contains("inStoc")', 0)
	->end()
;
?>